﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models;

namespace Hicap.AuthorizationServer.Application.Dto.Mapper
{
    internal static class CustomerUserRoleRelatedMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<UserRoleRelated, UserRoleRelatedListDto>();
            configuration.CreateMap<UserRoleRelatedEditDto, UserRoleRelated>();
            configuration.CreateMap<UserRoleRelatedListDto, UserRoleRelatedEditDto>();
            configuration.CreateMap<UserRoleRelatedEditDto, UserRoleRelatedListDto>();
        }
    }
}